package main

import (
	_ "day01/basic/04_test_init" // _ 符号作用：引用但不使用
	"fmt"
)

// 测试init 函数
func init() {
	fmt.Println("a test of init")
}

func main() {
	name := "jack"
	fmt.Println("hello , I'm", name)
	fmt.Printf("var's value  %s， vars'type %T \n", name, name)
	age := 26
	str := fmt.Sprintf("\nintroduce your name and age， eg: %s %d ", name, age)
	fmt.Println(str)
}
